SftTree/NET 2.0

BackColorSelected Property, SftTree Class

Softel vdm, Inc.

Defines the default background color for items in the item area that are selected.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property BackColorSelected As Color

C#   

public Color BackColorSelected { get; set; }

C++   

public: property Color BackColorSelected {
        Color get();
        void set(Color value);
}

Property Value

The default value is Color.Highlight.

Comments

The BackColorSelected property defines the default background color for items in the item area that are selected.

Columns, items and cells can override the background color using the ColumnClass.BackColorSelected, ItemClass.BackColorSelected and CellBaseClass.BackColorSelected properties.

Items that are not selected may use the colors defined using the BackColor property instead.

Depending on a cell's background (CellBaseClass.Appearance), the defined color may have no effect.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com